package com.deployment.java_deployment.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author jiangjunfeng
 * @create 2023 - 11 - 06 - 15:55
 */
@RestController
@Slf4j
@RequestMapping("hello")
public class HelloController {

    @GetMapping
    public String hello(){
        log.info("你好呀");
        System.out.println("我很好，你呢？");
        return "ok";
    }

}
